/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package components;

import javax.swing.JTextField;

/**
 *
 * @author Sonia Tan
 */
public class TextArea extends JTextField {



    public TextArea(){
    }


    public void initText(int width, int height, int x, int y){

            setSize(width, height);
            setLocation(x, y);
            setText("");
            //setBorder(javax.swing.BorderFactory.createEtchedBorder());
            //setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(153,153,153)));
    }
}
